package cn.tedu.pet.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("pms_category")
public class Category implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private Long parentId;

    private Integer depth;

    private String keywords;

    private Integer sort;

    private String icon;

    private Integer enable;

    private Integer isParent;

    private Integer isDisplay;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;
}
